package org.example.product.api;

import org.example.core.utils.R;
import org.example.product.api.domain.Preferential;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author 小杰_cc
 * @version 1.0
 */
@FeignClient("coupon-service")
public interface CouponService {

    // 保存优惠/折扣信息
    @PostMapping("/sms/backend/preferential/add")
    R<?> addPreferential(@RequestBody Preferential preferential);
}